Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure skema[llms] included in docker image build #610

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

myedibleenso
Copy link
Collaborator

Summary of Changes

#601 introduced LLMs using langchain and the Open AI API. The llms extra was included in the extra all, but our docker image only installs core to avoid bloat:

RUN pip install ".[core,dev,demo]"

This caused an import error that triggered a deployment failure loop.

@myedibleenso myedibleenso added bug Something isn't working CI continuous integration and automated workflows labels Oct 31, 2023
@github-actions github-actions bot removed the CI continuous integration and automated workflows label Oct 31, 2023
Copy link
Collaborator

@Free-Quarks Free-Quarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks Gus!

@myedibleenso myedibleenso merged commit be313e6 into main Oct 31, 2023
8 checks passed
@myedibleenso myedibleenso deleted the ghp/llm-deps branch October 31, 2023 22:29
github-actions bot added a commit that referenced this pull request Oct 31, 2023
## Summary of Changes

#601 introduced LLMs using
`langchain` and the Open AI API. The `llms` extra was included in the
extra `all`, but our docker image only installs `core` to avoid bloat:
https://github.com/ml4ai/skema/blob/3af73f74ec127e0fb4c5abf4d3a8f9bd0eea3e71/Dockerfile.skema-py#L53

This caused an import error that triggered a deployment failure loop. be313e6
@myedibleenso myedibleenso added bugfix and removed bug Something isn't working labels Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants